def METHOD_NAME():
    try:
        self.ydl.urlopen(request).read()
    except Exception:
        self.to_screen('[%s] Heartbeat failed' % self.FD_NAME)
    with heartbeat_lock:
        if not download_complete:
            timer[0] = threading.Timer(heartbeat_interval, METHOD_NAME)
            timer[0].start()