Added connection timeout.