Fixes #3275: use the pool of connection when you should