Handle generator exit in interrupter