introduce WaitGroup for reconfiguration of LogSinkManager.