In this case, the key is in the waiting stage. Does the second while loop rely on the same break key?

Kuphryn