Finished. Error with multithreading