add locking to proxy
0.1.1