sync before reboot