ESP8266 Constant disconnect the WiFi conection

I don’t know if this is a problem of my wifi, but there is constantly happen, I’m talking about the standalone app

This is the example, so, when I press the play button everything works fine, but, when I press stop button, and again play button, the connection goes off.

Can someone tell me what it is about? or what I could do to avoid lost the connection?

First… Please upload your code, just so we can verify that it’s not code related.

Second… Esp8266 is known to be sensitive to unstable power supply. So what version do you use? And how do you use it? Hardware setup, power and so.