Rescue timeout/connection errors when collecting metrics