close connection when failed to visit read site.