Call closelog in syslog sink's destructor