JavaScript connection pool for RethinkDB