Getting the following error on pulling the image from DockerHub

Using default tag: latest
Error response from daemon: Head "https://registry-1.docker.io/v2/library/mongo/manifests/latest": Get "https://auth.docker.io/token?account=devrishabhkumar&scope=repository%3Alibrary%2Fmongo%3Apull&service=registry.docker.io": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

I have Logged in into docker Desktop as well but getting the following command on performing docker pull.

Hi All, figured it out…need to restart your docker machine again.