cloudInstance.setNetworkIdentify(instance.getIpAddress());
}
} catch (Exception ex){
LOG.debug("Error processing VM " + cloudInstance.getName() + ": " + ex.toString());
}
<BUG>}
for (String instanceName : instancesToRemove) {
final InstanceStatus currentStatus = myConnector.getInstanceStatusIfExists(instanceName);
</BUG>
if (currentStatus == null) {

cloudInstance.setNetworkIdentify(instance.getIpAddress());
}
} catch (Exception ex){
LOG.debug("Error processing VM " + cloudInstance.getName() + ": " + ex.toString());
}
}
final Map<String, InstanceStatus> statuses = myConnector.getInstanceStatusesIfExists(instancesToRemove);
for (String instanceName : instancesToRemove) {
final InstanceStatus currentStatus = statuses.get(instanceName);
if (currentStatus == null) {
