Scorched earth

Kill misbehaving frameworks, ideally preventing ports from being hogged. 
`if dead in proc` is hard to understand, especially as proc is output from an external command - can you add a comment saying what you expect to happen here or what you're looking for?