added termination for a finite number of iterations for aws ec2 server delete