Refactor #kill_child

Let's split this up a bit, shall we?