Add connection timeout to curl call.