in a negative number which is retained by the bash modulo-operation. So
the sleep may get a negative number of seconds being interpreted as an
option. This version makes sure that the module-operations returns a
non-negative value. [BZ #164494, James Wilkinson]