added receiving timeout
merge with b9121d0
Merge branch 'client_api' into pas_plugin