add sync to legacy reboot (just as android reboot does)