Some race conditions came from the tests themselves. But we had a race condition reading the proxyAddress; this change protects it with a mutex.