add sync to proxygoose/ProxyGoose.java