this feels like something that can/should be pulled out into a separate method.  Maybe `handle_failed_child_process`?