Details
Description
This is because MapDBMapFactory is backed by temporary DB, but that one is never closed.
Fix:
- make it closeable
- adapt test case and use in RecoveryCommand
However, RecoveryCommand sets the MapFactory instance globally, and never resets it. Thus, if the factory is indeed closed, subsequent tests will fail. So, in RecoveryCommand, restore the default factory when done.