/// <summary> /// Closes this instance. /// </summary> public virtual void Close() { if (m_connection == null) { return; } try { if (m_connection.Connected) { NntpReaderWriter.WriteCommand("QUIT"); NntpReaderWriter.Dispose(); m_nntpStream = null; m_connection.Close(); } } finally { try { m_connection.Close(); } catch { } m_connection = null; } }