how can i set automatic retry download during update OPENsuse?

Hi
During system upgrade I often encounter same this error


Retrieving: http://download.opensuse.org/tumbleweed/repo/oss/suse/x86_64/libspeexd[error]
Download (curl) error for 'http://download.opensuse.org/tumbleweed/repo/oss/suse/x86_64/libspeexdsp1-1.2~rc3-3.10.x86_64.rpm':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500 Internal Server Error

Abort, retry, ignore? [a/r/i/...? shows all options] (a): 
                                                                     

can i set automatically retry during update in the konsole ?

My connection internet is not very stable
During system upgrade I often encounter same this error
When show this error i must Manually type “r” and press “enter” for continue upgrade

Can it be adjusted automatically retry after second ?(selected “r”)

In case of trouble always try the following two commands:

zypper ref --force
zypper upd