private void attemptToDeleteDuplicate() {
try {
String projectIdentifier = forceProject.getProjectIdentifier();
String soql = String.format("SELECT Id FROM MetadataContainer WHERE name = '%s'", projectIdentifier);
QueryResult queryResult = stub.query(soql);
MetadataContainer duplicateContainer = (MetadataContainer) queryResult.getRecords()[0];
stub.delete(new String[] { duplicateContainer.getId() });
} catch (ForceRemoteException e) {
// Let's not try to do nested recovery from a failure handler. Log it.
logger.debug(e);
}
}