add client, change polling return data

1. add client.
2. polling will return array data.
`_tmp` is not a good variable name