Add a custom shutdown hook.
Added a producer.