Poking at the shutdown code..