Hacks to turn off the server while motor runs.