Shut down the log level monitoring thread at_exit.

Under process-based rubies the thread will die when the process dies.  Under JRuby, however, the runtime may be shut down without the process dying.  If the thread doesn't die it will keep the entire JRuby runtime alive, leading to a potentially large memory leak.