Turning off auto-restart