I think it's about thread racing The program displayed too much data on the console (on the screen). but I don't know how to avoid it