trying to deal better with pg module keeping connections to db open and idle when making queries that don't return rows