Removes unused task