make launching more robust
Make sure headnode is up before staring pbs_mom