removing memleaks in epoll support