Improved reduce fd usage

hello, 
    In pagespeed, each NgxBaseFetch instance use a pair of pipes to communication with nginx. It is wasteful. I am tring to solve this problem. you can give me some suggestions here.