Added more deterministic wait for DN availability in start up scripts in hdp_node