Improved connection pooling