Nodemcu esp8266 esp12-E disconnects and or wont reconnect after i turn my phone screen off or i back out of the app

ping only gets up there when this is in the loop. if its not there it’s 1ms

Serial.print(s1);
       Serial.println(" s1");
              
Serial.print(s2);
       Serial.println(" s2");
              
Serial.print(s3);
       Serial.println(" s3");
              delay(2000);