public void Dispose()
 {
     if (_counters != null)
     {
         _counters.CloseAsync(null).Wait();
     }
 }
 public void Dispose()
 {
     _service.CloseAsync(null).Wait();
     _counters.CloseAsync(null).Wait();
 }