Add DEBUG messages if MapDB is already closed