code: def run(self):
          
          logger = getLogger('zinnia.ping.external_urls')
          socket.setdefaulttimeout(self.timeout)
  
          external_urls = self.find_external_urls(self.entry)
          external_urls_pingable = self.find_pingback_urls(external_urls)
  
          for url, server_name in external_urls_pingable.items():
              reply = self.pingback_url(server_name, url)
              self.results.append(reply)
              logger.info('%s : %s', url, reply)
  
          socket.setdefaulttimeout(None)
docs: Ping external URLs in a Thread.