don't error on Close() if pindex already closed