stream: fix syslog handle