retry stopping the state machine