Working multithreading.