Removing race condition in shuffleInstances due to premature .clear() of
virtualHostnameMap (needed by getter APIs).
Merge pull request #260 from qiangdavidliu/master

Removing race condition in shuffleInstances due to premature .clear() of