Elegant method to implement "CleanUp" function over a network

Thank you I will look into finding the Destroy Event.

Sorry please could you explain what you mean by latent functions. Cheers.