Fix memory leak in LGAutoPkgTask (waitUntilExit), adjusted properties.