Clear the flag of resynch after doing the sync