Make sure child closes all pipe fds when executing CGI