Setup connection pooling, issue #600.