Set speed to zero before exiting