fix: check daemon is running in 2 ways