Universal Robots WSACancelBlockingCall

I am using two Ur3e robots that are being called by a script in unity. I keep receiving this error

System.Net.Sockets.Socket.Receive (System.Byte buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) (at :0)
System.Net.Sockets.NetworkStream.Read (System.Byte buffer, System.Int32 offset, System.Int32 size) (at :0)
Rethrow as IOException: Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall.
.
System.Net.Sockets.NetworkStream.Read (System.Byte buffer, System.Int32 offset, System.Int32 size) (at :0)
ur_data_processing+UR_Stream.UR_Stream_Thread () (at Assets/Everything DigitalTwin/All_digitslTwin/script/UR3/ur_data_processing.cs:274)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at :0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at :0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at :0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at :0)
System.Threading.ThreadHelper.ThreadStart () (at :0)
UnityEngine.<>c:b__0_0(Object, UnhandledExceptionEventArgs)

I am unsure if this is a unity issue or a UR3e robot issue, could it be because of mutiple robots being open? This seems to happen randomly, sometimes when i first start it or when I connect to another robot after disconnecting. If any information is needed I would be more than happy to share.