Fixed TCP error: If the TCP ever drops out the software will now try and re-establish connection until it finally does. This means lots of lost data if the network drops out.

Also: deployed the system at Cirrus System it is working as intended.