Jobs aren't being restarted, further debugging to find out where this script is exiting