Proof of Concept: fix generator.invoke

Create a new `runLoop` for the invoked generator.