syslog: fix https://github.com/opnsense/core/commit/cda4e3561f511fb75a7a7922b329d5581ae2c3b7
syslog: fix https://github.com/opnsense/core/commit/cda4e3561f511fb75a7a7922b329d5581ae2c3b7

- sleep() expects an int, use usleep instead to wait 0.1 seconds
- bail if waiting longer than 5 seconds

opnsense/core,opnsense/core,opnsense/core,opnsense/core,opnsense/core,opnsense/core