fix incorrect connection_pool usage