[tor-commits] [tor/master] Use waitpid code to learn when a controlled process dies