Null reference to allow multiple shutdown calls.

The shutdown command was looking for a null reference in order to early return but nobody was nulling the reference.