make ec2connection more patient