Avoid using deprecated methods in JobQueueDB