Fix the TryCatchGenerator.js test to work with closed generators that don't throw.