better threadsafety in handling of the worker and a spec for async on clent

Noticed that the async write_point wasn't actually threadsafe (worker assignment isn't threadsafe).  it was also untested.  This fixes that and adds an async test.

I'm probably going to have a full PRs based on the worker... ideally there should be no sleep in the worker.