sync is only relevant if you use the Linux block system, which flasher (actually, softupd) does not use. Anyway, you are supposed to reboot the system normally, not by taking out the battery. The Linux kernel, obviously, does not exit without completely flushing all buffers to the relevant devices.