Allow connection pool size to be configured