KAFKA-1317 Fix Kafka shutdown with delete topic on