Audit try/catch blocks to avoid anything that could yield during a catch block.
For the most part, the modifications involved setting a flag inside the catch block, then checking the flag immediately after.