Added retry logic to deal with cases where the syslog device is can't be read.