It looks like when there's a failure, the process closes back to the `main()` method and then attempts to start imaging again.