Fix topic name access race.