int returnValue = process.waitFor();
GFacUtils.updateApplicationJobStatus(jobExecutionContext,jobId, ApplicationJobStatus.FINALIZE);
// make sure other two threads are done
standardOutWriter.join();
standardErrorWriter.join();
/*
* check return value. usually not very helpful to draw conclusions based on return values so don't bother.
* just provide warning in the log messages
*/