Properly closes XaLogicalLog at tests end