DB: after DB is closed all methods should throw `IllegalAccessError("already closed")` exception