Add retry heuristic for slow futures and enable it for file downloads