public static ShortTermJobQueue Instance()
 {
     if (instance == null)
     {
         instance = new ShortTermJobQueue();
     }
     else
     {
         if (!instance.IsBusy)
         {
             SimpleLogging.LogMessage("Warning!  Call to ShortTermJobQueue.Instance() returning a stopped background worker");
         }
     }
     return(instance);
 }
 public static void Shutdown()
 {
     Instance().CancelAsync();
     SimpleLogging.LogMessage("ShortTermJobQueue shutting down..");
     instance = null;
 }