Things are finally working with only 2 threads.