public void Dispose()
 {
     _dataCollector?.Dispose();
 }