Pacman: Connection timed out errors when updating packages

Welcome to EOS and the forum!
I had this exact problem and this is how I solved it.