Use _exit instead of quick_exit
Use pipe instead of pipe2