Adds synchronization for jobs.