Adding 3 mins wait after terminating all instances before moving on to d...

...elete the security groups