// RESPONDER public virtual void Close(ErrorCode alertCode) { listening = false; in_stream.Close(); out_stream.Close(); sessionListener.OnClose(); }