adding connection pooling for jdbc fetch. still needs some work