Serial Port Disconnection Issues "Input/output error"


I have 4 serial port inputs using the serial in node.
It works fine most of the time but every now and then I get the following error when I deploy my nodes
"serial port /dev/ttyUSB0 error: Error: Error: Input/output error, cannot open /dev/ttyUSB0"

Ranges from USB0 to 3 as there are 4 inputs and sometimes multiples of them give this error and redeploying them gets rid of this error.
Is there any way I can catch this error and redeploy the nodes? it currently only shows up in the debug menu as 'msg: string[90]' and does not show in the status or catch nodes.

Cheers for the help,