Stop redirecting the page to about:blank before cleanup can be done