Properly handle connection errors

For instance, when the knowledge base is out of reach
{'agent'->'models'} + remove reference to 'default' model