Tuning data sources for reliable connections