The issue is resolved now. To make it work, I paused windows update and stopped following services temporary using Windows + R and Services.msc -
Background Intelligent Transfer Service
Cryptographic Services
Windows Update
With the above steps, the Windows Update process got killed. I restarted the above services and un-paused windows update, then everything worked fine again.
Glad it worked out ok for you.