public static void Cleanup()
 {
     if (jobManager != null)
     {
         jobManager.Cleanup();
     }
     jobManager = null;
 }