The page.on is reconized by the async for loop at the bottom as finished and ready to run the function again, but its not actually done. It still needs to run e
page.on