API: timeouts are in seconds