Made invocation.get_job_number to poll job