Use pipes instead of socketpair, comment out perror