now use a pool for retrieving the db connection