Random task delay retry

added more random and better random.