[debug] fix the bug that a worker set the task status as UNDONE after its calculation