increase the connection timeout to 10 seconds in API