EPOLLHUP and EPOLLRDHUP may occur together