Clear interval on detach