While loop never stops

Don’t use while loops with Blynk.
Use BlynkTimer instead. In this case, probably a Timeout Timer in a Lambda function…

Pete.