host: Dont start new jobs if shutting down

ah ok yes, I have kept it here, and also blocked the main loop if the process is shutting down: ac3380e