Fixing DB pools with job threads