state machine helper: use stay in failsafe flag