Log retries when fetch fails

Fixes #6644. 
Error message for a failed fetch will tell whether npm will make another attempt.