Adding retry logic for ntpdate.