Why remove this? I suppose you're going off the fact that it will be destroyed anyway when the process exits, but showing how to delete it explicitly can be instructive.