Ensure shutdown happens before clientLog is closed