fix for connections not returning to pool?