I\'ve been using the finaliser to perform cleanup operations in XUnit.
public class CSATWebClientTests { private readonly CSATWebServer ser