is there such a thing? should I just put my code in the Dispose() funciton?