Utilizing the IDisposable nature of the classes