added logging around IOUtils.closeQuietly()