Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded

Sometimes I fetch this error during pulling something from docker hub. I have surfed the web and spent too much time to solve (or at least find the source of the problem) but my efforts went away leaving me unsolved.

There are some suggestions in different forum, github-issue like changing proxy, corporate network etc. But if the problem related to the corporate network then why this problem occurs often instead of every time I pull something in my office PC ?

Almost every time docker works fine but often it shows this error.

Can anyone problem my solve ?
I am giving him advance thanks !

Source: StackOverflow