public void Dispose() { if (_topicWatcher != null) { _topicWatcher.Dispose(); } _container.Dispose(); }