結束執行檔專案都要等一段時間

請問一下,我在專案有用到TCP通訊,Modbus通訊,而且我有用Dequeue Element將通訊的資料傳送到其它的VI。但我發現如果我通訊正常時,結束執行檔都可以較快的時間就結束。但當我通訊斷線時,要結束執行檔時,都要等一段時間才會結束。這幾個指令都有timeout的設定,請問會變慢是不是跟timeout設定時間有關係呢?如果跟timeout有關係,請問我要怎樣架構才能在通訊斷線時,也可以很快結束執行檔呢?

You can try the EXIT function at application control:
Quit LabVIEW Function
Owning Palette: [Application Control VIs and Functions]
Stops all executing VIs and ends the current instance of LabVIEW.
This function shuts down only LabVIEW. The function does not affect other applications. The function stops all running VIs the same way the [Stop] function does. If there is any unsaved work in memory, you will be prompted to save. Selecting Cancel will abort the quit.