Updated Failure Handling for metric.collect
Catch URLError