Added proper disconnection methods for epoll