Set pipes to O_NONBLOCK