explored possible problems with the scheduler
added thread random start delay
New attempt delay genetating function with more consistent delay inbetween attempts (but still random). Tested with a near-worst case simulation.
adapted test
Merge pull request #38 from wajam/random-task-delay-retry

Random task delay retry