def shutdown(exception)
      begin
        notify_event(:shutdown, { :exception_message => exception.message })
      rescue => e
        $stderr.puts([e.message, e.backtrace].join("\n")) rescue nil
      end
      @config = default_config
      @config[:enabled] = false
    end
def shutdown(exception)
      begin
        notify_event(:shutdown, { :exception_message => exception.message })
      rescue => e
        $stderr.puts([e.message, e.backtrace].join("\n")) rescue nil
      end
      @config = default_config
      @config[:enabled] = false
    end
Anytime an exception happens, we want to skedaddle out of the way
 and let life roll on without any tracking in the loop.