Update restart script to start and stop delayed job