more friendly for pymongo.errors.ConnectionFailure