epoll: add a reschedule point in ep_free()