anchor.diff:  	    ?MODULE:StateName({Msg, Seq, Elements, Header}, State1);
   	_ ->
   	    %% invalid Seq, out-of-order packet, silently ignore,
  -	    {next_state, StateName, State, ?IDLE_TIMEOUT}
  +	    next_state(StateName, State)
       end.
   
   maybe_takeover(CommonName) ->
  
positive.code:     {value, {_, Msg}} = queue:peek(Queue),
      State1 = stream_send(Msg, State0),
      State2 = init_retransmit(State1, RetransmitCounter - 1),
      {next_state, StateName, State2, ?IDLE_TIMEOUT}.
  
  init_retransmit(State, Counter) ->
      State#state{retransmit_timer = send_info_after(?RetransmitInterval, retransmit),
  
negative.code:     case LastResponse of
  	{Seq, _} ->
  	    NewState = resend_response(State),
  	    next_state(StateName, NewState);
  	{LastSeq, _} when ?SEQ_LE(Seq, LastSeq) ->
  	    %% old request, silently ignore
  	    next_state(StateName, State);
  	_ ->
  	    ?MODULE:StateName({Msg, Seq, Elements, Header}, State)
      end;
  