rewrote send_command_zmq