/// <summary>
 /// 服务停止时自动注销
 /// </summary>
 /// <param name="cancellationToken"></param>
 /// <returns></returns>
 public Task StopAsync(CancellationToken cancellationToken)
 {
     _serviceRegistry.Deregister();
     return(Task.CompletedTask);
 }