Nodemcu with blynk constantly keeps connecting and disconnecting

Read this first

and avoid delays.
You can use blynk timer instead, more details here