just use `IOUtils.closeWhileHandlingException(is)` instead of the 6 lines in the finally block