Allow the consumer thread to shut down so it won't remain live in hot deploy scenarios.

Fixes #27: Memory leak on JRuby.