Add param to gyield() to allow not switching back