use epoll() for event loop. call back to xcb event handler