Refactoring: Obtain random microtask

Instead of obtaining microtasks in sequence.