Database: close() should not commit transactions