Setting every horse to rest after a race