AWS bootstrap: Wait for subnets to be available before using them, remove accidental infinite loop in terminal EC2 instances