add retry to ntp_time in case ntp server times out