code: def synchronize(self):
      for url, ar in list(self.linksWorking.items()):
          # Calling get_task_result with block=False will return None if the
          # task is not done yet.  This provides a simple way of polling.
          try:
              links = ar.get(0)
          except ipp.error.TimeoutError:
              continue
          except Exception as e:
              self.linksDone[url] = None
              del self.linksWorking[url]
              print(f"{url}: {e}")
          else:
              self.onVisitDone(links, url)
  
file_path: ipyparallel/docs/source/examples/fetchparse.py
imports: import sys
  import time
  import bs4
  import ipyparallel
label_desc: Use image node_id 5 for calling the DistributedSpider obj's underlying member method code with example usage: obj.synchronize() without return types