Revert "Simplify loop that clears instance list on re-init"

Doesn't work when multiple instances loaded.

This reverts commit 25aafb93ded57e43e15125080f01c7f9a13878a7.