pub fn handle_reboot(force: bool) -> Result<()>
reboots the system if boot_counter is greater than 0 or can be forced too