Enabled to shutdown producer.