Why pipes sometimes get "stuck": buffering