Check whether all the parallel jobs are finished or not before
proceeding to the next step