A machine works then stops