Remove dependency on concurrent.futures.