В одной из проверок получается такой вывод Waiting for Horse_01 Horse_09 has finished the race! Horse_04 has finished the race! Horse_05 has finished the race! Horse_06 has finished the race! Horse_07 has finished the race! Horse_10 has finished the race! Horse_01 has finished the race! Horse_08 has finished the race! Horse_03 has finished the race! Horse_02 has finished the race! Waiting for Horse_02 т.е. лошадь финишировала, а потом мы ее ждем, но я не могу понять, в чем ошибка в коде. или delay сделать больше?