[syslog-ng] [PATCH 7/7] [logreader]: Proper wakeup function handling