[win] Skip syncing when a file needs to be updated is locked.
[client] fix minor sync timer bug.