Fixing case where data would be buffered in memory indefinitely if never piped.