Delete functions when closing VM