fixed a bug with connection pooling