Close apk file when getting version