CORE-5857: moved database transactions for the jobs and job_steps tables up to the service level