Fix incorrect error case clauses

Found while running a little 2i load. Once you start getting errors, the workers start to crash without this.  The fix should be pretty obvious.