Fix several errors in the ZeroMQ usecase