yay ... timed out reading password occurs almost daily. https://wiki.archlinux.org/title/sudo#Disable_password_prompt_timeout is a solution but cumbersome to install on each system. EOS should work out-of-the-box.
yay has an option to handle that called sudoloop. Running yay --sudoloop --save will save the setting and prevent yay from timing out on the sudo prompt.