wait for job id