This prevents timing out ubus call when the child invokes further detached
childs inheriting stdio descriptors.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
ustream_poll(&c->opipe.stream);
ustream_poll(&c->epipe.stream);
ustream_poll(&c->opipe.stream);
ustream_poll(&c->epipe.stream);
+
+ close(c->opipe.fd.fd);
+ close(c->epipe.fd.fd);
+
+ ustream_poll(&c->opipe.stream);
+ ustream_poll(&c->epipe.stream);