Clear interval on error