def err_receiver_thread
        Thread.start {
          log_info { "start err receiver thread" }
          loop do
            begin