Flush log entries for async event clients before shutdown