public void Dispose() { if (_sourceClient != null) { _sourceClient.Dispose(); _sourceClient = null; } if (_targetClient != null) { _targetClient.Dispose(); _targetClient = null; } }