Repeating moves in an ending can be very useful. Apart from the obvious gain of time on the clock one notices that the side with the advantage gains psychological benefit.