Added a shutdown hook demo class.