clearInterval before setting a new one