Catch failed connection due to a bad region in ec2_scaling_policy

Fixes #7506