Fix typo
Wait for shutdown then removing cd