call unload to unsubscribe and unfetch before page navigation