Handle connection loss
Handle connection loss

If we lose the connection, log it and try to reconnect.  Ensure that we
sleep between connection attempts so we never end up hammering the PLC
with connection attempts.

kprovost/domotica,kprovost/domotica