Actually stop when a machine stops