fix crash issue: pcookie.tanx.com will lead to DNS resolving exception thrown, then program is forcibly aborted