bender: refactor sleep time determination
bender: refactor sleep time determination

The old code was unidiomatic and hard to understand.
This change handles what bender calls 'overage' a bit different but it now
should really mean 'the time spent in additional code'.

vdobler/ht,vdobler/ht,vdobler/ht,vdobler/ht