[plugins] cgi: fixes child-exits-before-stream-finished bug.
[plugins] cgi: fixes child-exits-before-stream-finished bug.

xzero/x0,christianparpart/x0,xzero/x0,christianparpart/x0,christianparpart/x0,xzero/x0,christianparpart/x0,christianparpart/x0,xzero/x0,christianparpart/x0,xzero/x0,xzero/x0,christianparpart/x0