Modbus client change: close the connection inside.