Using correct client in batch socket call.  Fixes #9