Wait for cancel before next listen in switchLatest (dart-lang/stream_transform#137) If a stream is performing resource cleanup on cancel it may be a problem to listen to the next stream and start consuming resources before the cleanup is done. Propagate errors during the cancel to the result stream.