Remove obsolete tasks