Support immediate state transition

The result transitioning failed to handle when max attempts == 1