I have this code creating threads. I need to know how to wait for it to finish before launching.
Map accountsToRaidWith =