Fix client machine shutdown.