[enh] Prevent infinite pacman when API is not responding.