Automagic flush when take()
ing a MemorySinkStorage
#2632
Merged
take()
ing a MemorySinkStorage
#2632