retry
Retry with a pause between attempts for a max number of times
Retry with a pause between attempts forever
(Since version ) see corresponding Javadoc for more information.