I tried to use -wd 1, but can't make it to close the miner
tried -r -1
tried -r 0
When I mistype pool name (simulating dns /connectivity problem) it just keeps retrying to connect every 20sec, won't close the miner

My miner does not close. It will hang the system. So I use -wd 0 to disable the watchdog, and -r -1 not to restart.