Fixed retry logic to avoid multiple prompt bug.
Fixed retry logic to avoid multiple prompt bug.

kennethlimcp/particle-cli,kennethlimcp/particle-cli,spark/particle-cli,kennethlimcp/particle-cli,spark/particle-cli,kennethlimcp/particle-cli,spark/particle-cli,spark/particle-cli,kennethlimcp/particle-cli,kennethlimcp/particle-cli,spark/particle-cli,spark/particle-cli