Use a ticker for periodically flushing streams