private void HandleControlC(object sender, ConsoleCancelEventArgs e)
 {
     try
     {
         _host.Abort();
         e.Cancel = true;
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception.ToString());
     }
 }