Metadata retrieve is taking too long or stuck

If a Metadata refresh get stucked, do as follows:

1. Navigate to the Org Credential record.
2. If a pop-up message shows up with the latest status, press the link "hide messages" and then press the link "refresh cache", this will force the job to start again.

How did we do?