Delete unneeded tasks task