Fixed case when URL is inaccessible (it was still crashing).