Update EC2Cloud.java -- fixes race condition that prevents proper function when 2 or more clouds configured

Cherry-pick from https://github.com/eucacolby/ec2-plugin/commit/47eef794f1a31407ceb333cd87a4105ee5fdaf33