Blynk halting my Arduino during internet drop

How does the Mega connect to the server?

Study this thread Brown outs or reboots