Add detection and handling on nsupdate failure timeout

Little block of code to handle timeouts correctly, otherwise they get marked as success, then further changes cause the nsupdate log to get out of sync with the actual inserted records.