private void CloseClient(JobClient client)
 {
     try
     {
         if (client != null)
         {
             client.Close();
         }
     }
     catch (Exception ignored)
     {
         // nothing we can do
         Sharpen.Runtime.PrintStackTrace(ignored);
     }
 }