Add exception safety to load of the DNS disk cache