Added ec2 wait