Issue #2: Quit the While loop when having requested to quit