Refactored various shutdown related DynamoViewModel methods