Iterating over AsyncEnumerable and writing to MemoryStream - C#