public void Dispose() { if (_pipeline != null) { _pipeline.Dispose(); } if (_client != null) { _client.Dispose(); } }