Feature/connection pool

/to @ritch