[PATCH 3/6] uiautomationcore: Shutdown provider thread when all returned nodes are released.