exit execution if 404 found