Does this handle client errors, e.g. timeout correctly?