Update target sync with sequential info (#5869).
Fix sqlcipher db syncing property.
Stop the target when exceptions occur.
Fix tests according to modified sync.