Fix issue with 404 handling in a pool