Initial commit
Keep a count of child respawns in shmem
Check kills and act accordingly

Instead of assuming a kill will just work, check the result.  If the
kill on the child is not successful, then stop.  Similarly with the
daemon parent.  Only then should the shmem be cleaned and freed.