public async override Task StopAsync()
 {
     await Task.Run(() =>
     {
         socketServer.Stop();
         dispatcher.Dispose();
     });
 }