The root cause was that the "this" binding was missing for the calls that dynamically create the tor instances and update the references within the _instances array. [#4]