FORGE-940: Closing InputStream after using