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