Remove the timeout from the passive click, and move the page unload timeout to only get set if the page will unload.