Fix: Reduced number of connection to the DB while executing jobs to avoid excessive resource consumption.