Replymessage unavailable
while initiates a loop and where you put the condition you have True instead, which is what makes it run endlessly. To break out of such a loop you'd need to use the break keyword inside it. In other cases you want to put a variable or condition there, which, at some point, evaluates to False to stop the loop.