The InputStream should be closed, seems like Manifest::read doesn't close it automatically.