Resolves issue where deleting multiple tabs while loading a page in one of them would cause a crash.