An event of EPOLLERR|EPOLLHUP|EPOLLIN may come in a thread and EPOLLIN come in another thread, which cause an fd be closed twice