make sure retry_until can handle ec2 errors