[PATCH 2/2] epoll: check for events when removing a timed out thread from the wait queue