Test for spawning EC2 instances in parallel using threading