Wait until the accum stream is actually closed before using its output!