Added support for throwing GeneratorFinished from run()