(#2608) - race condition in sync replication test