adds connection timeout setting