nextJobDB should have a way to pick a db having specific type of job in the queue