Scorched earth

Kill misbehaving frameworks, ideally preventing ports from being hogged. 
`proc` is the output of `ps` with some flags - it will always be either null or a single PID (int). Similarly, `dead` is the result of the same call after we have attempted to send a sigterm - `if dead in proc` simply means "if there is still the PID process list after we sent it a sigterm 10 seconds ago".