public override async Task <bool> VerifyConnection(ExecutionContext executionContext, IDictionary <string, object> config) { try { var connection = await _client.GetConnection(config); return(connection.State == ConnectionState.Open); } catch (Exception e) { _logger.LogError(e, "Error verifying connection"); throw new ConnectionException(); } }