if the finishtask is already in the list, don't append it.
fix the sleep issue.