Merge branch 'master', remote-tracking branch 'upstream/master'
Eliminated a race condition by move-constructing scoped client created in the calling thread into the callee thread.
Merge pull request #44 from dkorolev/eliminated_race_condition

Eliminated race condition.