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

Fixes #58: Memory leak on JRuby.
Kill thread specifically when testing #send_metrics
Merge branch 'fixed_jruby_memory_leak'