ZMQ: Some fix after review

 * Needs test
 * Need to fix the first message losen problem