Handle a few more errors; break out of loop on error