The function will return when any future finishes by raising an exception. If no future raises an exception then it is equivalent to ALL_COMPLETED.
concurrent.futures/FIRST_EXCEPTION
FIRST_EXCEPTION