src: spawn_sync should close handles upon exit
src: spawn_sync should close handles upon exit

When the exit callback is fired for the child process we should close
the handle associated with it.

dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node