close transaction at end of test, to prevent db shutdown wait