Send an email if a hung process was killed.
add a TODO to prevent killing random pods.
Use elif as a minor performance improvement.
delete trailing whitespace.