while loop to quit checker

Keeps application running