Fix the resume issue, let the multiprocessing to recheck if the tasklist
is still empty after sleep 5 seconds.