Setinterval memory leak