public void PauseTweetStream() { if (_filteredStream.StreamState != StreamState.Pause) { _logger.LogInformation("Pausing tweet stream."); _filteredStream.Pause(); } }