A machine works and then stops