hi: add locking. sigh
cap: hide errors from kill if the child exited as intended