command line: wait until daemon is connected