attempt to reduce connections to database