Passing around modbus context