peer dict is closed only if it is open.
Added archived code dir to gitignore.