Insert continue statement in the while loop of FSM.