event: run libuv event loop in a dedicated thread