daemon status fixed race condition