Changed the way database connections were retrieved to help prevent timeouts