Add timeouts for syslog

In order to detect dead syslog readers,
use a timout on (re-)connect and write.

@mlafeldt please take a look.