Fixed HIL state machine issue with reboot.