code: private static void closeQuietly(final InputStream is, final String message) {
  		if(is!=null) {
  		try {
  			is.close();
  		} catch (final Exception e) {
  			if(LOGGER.isWarnEnabled()) {
  				LOGGER.warn(message,e);
  			}
  		}
  		}
  	}
docs: Close an input stream logging possible failures.
  @param is The input stream that is to be closed.
  @param message The message to log in case of failure.