a machine is running and then stops