Add a shutdown hook that prints all live threads, which is useful in a production environment