Cancel explosion when main window is closed.