Fix clearInterval in progress bar example