Reflash when stuck in sleep mode

There was discussion of a “safe” or “recovery” mode which copies the factory firmware without clearing wifi credentials.