half working epoll client