delete rotten tasks