anchor.diff:      %% The pos_compl was the last event we waited for, finnish and clean up
       ?DBG("recv_chunk_closing pos_compl, last event",[]),
       gen_server:reply(From, ok),
  -    activate_ctrl_connection(State0),
  -    {noreply, State0#state{caller = undefined,
  -                           chunk = false,
  -                           client = undefined}};
  +    State = activate_ctrl_connection(State0),
  +    {noreply, State#state{caller = undefined,
  +                          chunk = false,
  +                          client = undefined}};
   
   handle_ctrl_result({pos_compl, _}, #state{caller = #recv_chunk_closing{}=R}
   		   = State0) ->
  
positive.code: 	    end
      end;	
  
  handle_call({_, {open, tls_upgrade, TLSOptions}}, From, State) ->
      _ = send_ctrl_message(State, mk_cmd("AUTH TLS", [])), 
      activate_ctrl_connection(State),
      {noreply, State#state{client = From, caller = open, tls_options = TLSOptions}};
  
  handle_call({_, {user, User, Password}}, From, 
  
negative.code: 					tls_upgrading_data_connection = false}}
      end;	
  
  handle_ctrl_result({pos_compl, _}, #state{tls_upgrading_data_connection = {true, pbsz}} = State0) ->
      _ = send_ctrl_message(State0, mk_cmd("PROT P", [])),
      State = activate_ctrl_connection(State0),
      {noreply, State#state{tls_upgrading_data_connection = {true, prot}}};
  
  handle_ctrl_result({pos_compl, _}, #state{tls_upgrading_data_connection = {true, prot},
  