try (InputStream in = termsUrl.openStream()) {
termsBase.getSession().importXML(termsBase.getPath(), in,
ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING);
try (InputStream in = termsUrl.openStream()) {
termsBase.getSession().importXML(termsBase.getPath(), in,
ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING);