threadsafe access to job