Small fix for hang when URL cannot be retrieved