How to delete old task?