Unique id on stream cache, clearing changes before throwing a ConflictingCommandException