pyqt - how to detect and close ui if it's already running?,sys.exit(app.exec_())