add tolerance for Mongo connection failure