ensure db with correct adapter is destroyed