Cleaning up ZmqWorker.

serialize() throws unchecked exception now.