Added new process condor_wait to wait for a result of the submitted job