Make withSqlPool actualy destroy the pool after finishing