private void Disable() { _dataRequestWire = new NoOpCollectorWire(); if (string.IsNullOrEmpty(_configuration.AgentRunId?.ToString())) { return; } EventBus <ServerConfigurationUpdatedEvent> .Publish(new ServerConfigurationUpdatedEvent(ServerConfiguration.GetDefault())); }