Direct Serial (COM) follow-up fix for the exp.7 test build.
This fixes a cleanup/disconnect race where the app could immediately disconnect the COM port right after the connection state changed, causing the UI to briefly flash connected/disconnected or show 'Serial port is not connected.' even though the device was available.
Windows x64 build: ScriptPlayerPlus-0.1.5-exp.8-Windows-x64.zip