Thread synchronization fixed.  Asynchronous response handling fixed.  Unit tests pass.