def METHOD_NAME(hosts):
    results = concurrent.tmap(
        scan_scsi_host,
        hosts,
        max_workers=MAX_WORKERS,
        name="scan")
    if not all(res.value for res in results):
        raise Error("Scanning hosts failed")