added machine shutdown