The function will return when all futures finish or are cancelled.
concurrent.futures/ALL_COMPLETED
ALL_COMPLETED