Fix errors when API dies really badly