release connections in pool to avoid running out of connections