piaware netstat fix and child reaper changes

* our thing that parsed netstat didn't close the pipeline but now it does.

* factored a child reaper proc and called it from a couple places.