first working commit of scheduler-daemon, zmq running in same thread