[eas-cli] Protect simulator environment cleanup (#4200)