Clear previous task