connection pooling with stream pipes