call close() if we throw in the NamespaceDetails constructor after creating the index, fixes #257
Merge branch 'diverge'