Fix reboot issue on CORI

Finally we managed to sole cori issues about rebooting recovery @mackief