Terraform stalls when recreating security groups