WIP: New way of reusing connections. Doesn't work for transactions yet.