Must close write side of "in" pipe in the child.