I had the same issue, the hosting is blocking connection because is making to many query request and generate some kind of ddos attack over the entire host because most of web hosting are shared not personal.
The API is timing out because it can't connect to your server. Either there is a configuration issue or your host is blocking these connection attempts.