Close other pipe in child
Make reads on the pipe non-blocking and add a maximum "blocking" time.