public void Close(ushort replyCode, string replyText, bool abort) { try { m_delegate.Close(replyCode, replyText, abort); } finally { m_connection.UnregisterModel(this); } }