replaced all stdin with zeromq