handle (very randomly) timeouts from the API