Make batch data segment announcer thread safe