event loop quit() twice here, then wakeup() in EventLoop sometimes fails and prints garbage info on screen.
event loop quit() twice here, then wakeup() in EventLoop sometimes fails and prints garbage info on screen.