public void Dispose() { if (_clientStream != null) { _clientStream.Dispose(); } if (_serverStream != null) { _serverStream.Dispose(); } } }