Added reconnect method to the modbus tcp client.