Reference counting, okay, fair enough, that should solve the interaction problem with aexpect auto_close too.  But, there's already a reference-counter in <code>VirshPersistent</code> class.  Maybe it makes sense to move it here instead?