The issue appears to be because of some firewall/IP issues. I am getting the pub IP dynamically, and only in some IPs the issue seems to occur.
As the upgrade process is so slow, it is taking too much time.

Thanks
san