improved connection pooling