Destroy nodes that are not needed anymore