Return job status code from job or worker