Use concurrent maps and cancel tasks.