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