Wait on EPOLLRDHUP and use it to handle closed connections, more comments