/// <summary>
 /// Close name service and release resources
 /// </summary>
 public void Dispose()
 {
     _open.Cancel();
     Write.Complete();
     _cacheWorker.Wait();
     _http.Dispose();
 }