The function will return when any future finishes or is cancelled.
concurrent.futures/FIRST_COMPLETED
FIRST_COMPLETED