stop tasks between modes so we don't lose control of the robot