Loop keep running when wifi disconnected

I have problem with my project. I use Arduino Mega with ESP8266. Can my system keep in run when Blynk disconnect from wifi?. In my code, i mean readsensor(), printdata(), actuator(), and feedingscheduling() keep run when Blynk disconnect or recconect. Thank for your attention

void loop() {
  now = millis();
  Blynk.run();
  readsensor();
  sensortimer.run();
  printdata();
  actuator();
  feedingschedule();
}

Study connection management http://docs.blynk.cc/#blynk-firmware-connection-management

Move your functions from loop() and call with SimpleTimer.