correct return protocol for job_wait/job_status