Added connection validation to configuration