Waiting for Horse_01
Horse_08 has finished the race!
Horse_04 has finished the race!
Horse_05 has finished the race!
Horse_01 has finished the race!
Horse_06 has finished the race!
Horse_03 has finished the race!
Horse_07 has finished the race!
Horse_02 has finished the race!
Waiting for Horse_02
Horse_09 has finished the race!
Horse_10 has finished the race!
Waiting for Horse_09
Причем не важно в какой последовательности стоят join() и вывод строки.