After the device abnormally disconnects, it fails to automatically reconnect. A restart of the Node-Red service is required to re - establish the connection between the program and the device.
It seems that the connection to the device is not fully closed after disconnection, which may be the root cause of this issue.