Block the log thread temporarily, for test purpose.
Fix the mystery not working event loop, the reason is the thread exit before the loop start. Though the same code worked in main thread, but not work in reader thread. Currently it worked, thought there are still many issues to be fixed.