a way to fix sync error which I meet today

after commit, I click sync. But sometimes it always fails.