anchor.diff:                  wait,
                   active = true,
                   replies = [],
  +                terminated = false,
                   event_client}).
   
   %%%===================================================================
  
positive.code: handle_call(get_requests, _From, State) ->
      {reply, length(State#state.requests), State};
  
  handle_call(stop, _From, #state{} = State) ->
      StreamEnd = escalus_stanza:stream_end(),
      {ok, _Reply, NewState} =
      sync_send0(transport(State), exml:to_iolist(StreamEnd), State),
      {stop, normal, ok, NewState}.
  
  
  handle_cast(stop, State) ->
      {stop, normal, State};
  
negative.code:          get_rid/1,
           get_keepalive/1,
           set_keepalive/2,
           mark_as_terminated/1,
           pause/2,
           get_active/1,
           set_active/2,
  