add for multi thread client .

Change-Id: I0dc449c970f641ca06f10df089b60656a0a0e08b