Noticed in this code you can specify reboot retries, but reopen only happens once. Sometimes ATVs need a few more reopens before trying a reboot.