he loop will run until one of the callbacks calls `stop()`, which
        will make the loop stop after the current event iteration completes.
        N)