add startup detect and retry
Merge branch 'master' of github.com:zewenzhang/daemon