remove the multi-thread in reboot and add some error report