src/main/java/org/jboss/loom/utils/as7/AS7CliUtils.java
public static void safeClose(final Closeable closeable) {
        if (closeable != null) try {
            closeable.close();
        } catch (IOException e) {
            //throw new MigrationException("Closing failed: " + e.getMessage(), e);
        }
    }
/**
     *  Safely closes closeable resource (a CLI connection in our case).
     */
Safely closes closeable resource (a CLI connection in our case).
Safely closes closeable resource ( a CLI connection in our case ) .
public static void safeClose(final Closeable closeable) {
        if (closeable != null) try {
            closeable.close();
        } catch (IOException e) {
        }
    }
public static void safeClose ( final Closeable closeable ) { if ( closeable != null ) try { closeable . close ( ) ; } catch ( IOException e ) { } }
Safely closes closeable resource (a CLI connection in our case).
Safely closes closeable resource ( a CLI connection in our case ) .
//throw new MigrationException("Closing failed: " + e.getMessage(), e);