Added disk sync before reboot.