fix bug for exception of urllib2.URLError, avoid deadlock to concurrent.futures.as_completed