Chain a stream through two different pipelines