public void Close(ShutdownEventArgs reason, bool abort) { try { m_delegate.Close(reason, abort); } finally { m_connection.UnregisterModel(this); } }