Tweaked ListVariants method so that it doesn't attempt to open multiple connections at once