Reordered controller shutdown ordering.