Don't try restarting consumer when shutting down.

When attempting to recover from an error in a Kafka consumer thread,
don't bother restarting it if it's in the process of shutting down
anyway.
Only shutdown once on Kafka consumer error

If multiple consumer threads encountered an error simultaneously, they'd
all start a separate "shutdown" thread, causing a race-condition on
shutdown.