Fault-tolerant implementation of modbus protocol in Go (golang)