BUG: Check that the viewer widget still exists when cancelling a hanging protocol download.