Break ref-cycle between loop and root_task via RunVar (#1211)