added clearInterval() on restart