Add in basic error handling of timeouts (and badmatches in XML)

but still let fatal errors, etc occur. Just trying to be tidier when API
is down/slow or is up, but is returning a response saying it is down!