Fixed epoll signals in multi-threading context