Random task delay retry

Added a slight random factor to the delay between multiple task attempts to reduce request collision between different tasks.