Generic connection pool for Ruby
