Merge "Catch exceptions in SqlBagOStuff and cache connection failures."