Revise the task in multithread as runnable.