It's a bug, infinite looping is never an intended feature in card games. 

edit: Yep, I'm sure all of you downvoting are right and the tournament level hearthstone player featured in this video is wrong. 