Per Harri in "The expected functionality is that when you navigate away from a page, any loops inited from that page should cease to function, but it’s currently not working like that."
This is extremely unintuitive and, it seems, not intentional. Logic loops should stop running when a new page is opened.