Remove useless while True

No need for `while True`.