Code to clean up security groups and key pairs