>>Why do stream's dump their buffers when the writer closes? > >They're not supposed to; do they really do that? If by "dump their buffers" the original poster meant "throws data away if it isn't sent downstream in 15 seconds", the answer is "yes, they really do that".