Fixed intermittent failure in ProxyTest

That I didn't think of this earlier...