If the pool being destroyed is being used for system/syslog, DTRT

Ticket: #4377