Using global process object to exit on force restart