Multithreading task.