646f2436b0
I think the pipe was closing the other streams when the child stream closed so instead just write it one way.