code: def _urlread(url):
      timeout = time.time() + 5  # 5 seconds to connect
      while time.time() < timeout:
          try:
              f = urlopen(url)
          except Exception as e:
              if "refused" not in str(e):
                  raise
              time.sleep(1)
          else:
              return f.read()
      raise RuntimeError("connect timeout")
  
file_path: guildai/guild/commands/view_tester.py
imports: import json
  import logging
  import sys
  import threading
  import time
  from guild import util
label_desc: Use image node_id 6 for calling a global function with example usage: _urlread(url) and returns: f