threading deadlock fixed. sync sample now syncs with remote and rebuilds read model.