问题 The following code pings a website and prints the result in QTextEdit. One button "Run" is used to start the ping. I want to have another button "End", which could stop the ping process while it is running without closing the GUI. But currently, the "End" button closes the whole GUI window. Do you have any thoughts on how to stop the ping but keep the GUI, so I can start the ping again by pressing the "Run" button. import sys from PyQt5 import QtCore,QtWidgets class gui(QtWidgets.QMainWindow)