be a good function and close the epoll fd