Add reference count to zeromq context and retab.
Add zeromq based thread command.