} while (this.submittedJobs.containsKey(uid));
// dump the job to a JSON file
String planName = uid + ".json";
File jsonFile = new File(this.planDumpDirectory, planName);
new PlanJSONDumpGenerator().dumpOptimizerPlanAsJSON(optPlan, jsonFile);
// submit the job only, if it should not be suspended
if (!suspend) {
try {
this.client.run(program, optPlan, false);