Failed to connect to OpenMV’s serial port

Hello,
Has anyone used Node-Red to connect to an OpenMV board?
I could use some help connecting to an OpenMV board.
I’m running Node-Red on windows 10, and using a Python script to connect to the OpenMV board. When Node-Red starts up the serial connection works, but then disconnects over time. When I try to reconnect to the open TCP port I get an error “Failed to connect”. However, when Node-Red is restarted the connection is made and the sensor starts sending data.

What should I look for that may cause the connections to disconnect? Or, is it possible to add something that will reload the udev rules?

Sorry, i forgot to mention in Node-Red the connection is TCP in on port 2113.

Failed to connect to OpenMV’s serial port.
Please install OpenMV’s udev rules first:
sudo cp openmv/udev/50-openmv.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules

Thank you for your help!