Hi @xutian a little confused why we should use while to set up the timeout here. Isn't the vm.wait_for_login(timeout=timeout) is enough?