fix the stuck in UpdateCheckThread