This is really bad. It breaks the contract of the pool, which is that the connection will not be used outside of the block. You could potentially keep this connection around in some other part of the code and poke at it while some other thread is using it.