Blynk, your device went offline

Hi! I´ve finished my project with arduino and blynk and it works fine, but sometimes appear a message “your device went offline”. The project continue working and when I open the app, the device is online (
disconnects for very short periods of time)

Thanks in advance. Best regards.

#define BLYNK_PRINT Serial


#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
BlynkTimer timer;

const int Sound = 3;     
int SoundState = 0;
char auth[] = "*****************************";

void setup()
{
  // Debug console
  Serial.begin(9600);
  pinMode(Sound, INPUT);
  digitalWrite(D1,HIGH);
  digitalWrite(D2,HIGH);
  digitalWrite(D3,HIGH);
  digitalWrite(D4,HIGH);
  digitalWrite(D5,LOW);
  digitalWrite(D6,LOW);
  digitalWrite(D7,LOW);
  digitalWrite(D8,LOW);

  WiFi.mode(WIFI_STA);

  int cnt = 0;
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
    if (cnt++ >= 10) {
      WiFi.beginSmartConfig();
      while (1) {
        delay(1000);
        if (WiFi.smartConfigDone()) {
          Serial.println();
          Serial.println("SmartConfig: Success");
          break;
        }
        Serial.print("|");
      }
    }
  }

  WiFi.printDiag(Serial);

  Blynk.config(auth);
  timer.setInterval(100L, alarma);
  timer.setInterval(3000L, resetout);
}

void alarma() {
   SoundState = digitalRead(Sound);

  if (SoundState == HIGH) {
    
    Blynk.virtualWrite(V10, 1);
    Blynk.virtualWrite(V11, "Alarma sonando");
  } else {
   
    Blynk.virtualWrite(V10, 0);
    Blynk.virtualWrite(V11," ");
  } 

}

void resetout() {
  Blynk.virtualWrite(V0, 0);
  Blynk.virtualWrite(V1, 0);
  Blynk.virtualWrite(V2, 0);
  Blynk.virtualWrite(V3, 0);
  Blynk.virtualWrite(V4, 0); 

}



void loop()
{
  Blynk.run();
  timer.run();
}

in your settings on the blynk console you can change the period of time it takes before it sends you that msg, I had to increase mine because the connection isnt the greatest at times but it always reconnects.