Check that database endpoint is available before creating data source