Mainloop with epoll in recognizer