Fixing a threading issue in topo client code.