This is common. DISM sometimes appears stuck while finalizing. Wait up to 10 minutes. If still stuck, press Ctrl + C , then run dism /online /Cleanup-Image /RestoreHealth and retry.
The solution?
dism /Get-ImageInfo /ImageFile:C:\temp\netfx3.cab /Index:1 cab file for .net framework 3.5