fIsShuttingDown
while (!fIsShuttingDown) {
if (fIsShuttingDown) {
fIsShuttingDown = false;
fIsShuttingDown = true;
bool fIsShuttingDown;