dspam-train: handle dspamd connection errors as special cases and try reconnecting