The event loop for workers, to be used in worker's main(). Will block until the worker is ready to exit.
Launch the foreground app for this worker.