ncd: improve error handling semantics. Previously, when a statement died with an error, we would not re-initialize this  statement after retry_time has passed. This is not good when a stemement dies because of a broken dependency  which is shortly after detected by one of the preceding statements doing down (gracefully). Fix this by keeping a single  per-process error flag indicating whether to wait retry_time before initializing the next statement, and adjusting this  flag appropriately. In particular, when a statement not scheduled for termination goes down, the error flag is cleared;  similarly, if a statement dies with an error, the error flag is only set if the statement was not scheduled for  termination.
ncd: improve error handling semantics. Previously, when a statement died with an error, we would not re-initialize this 
statement after retry_time has passed. This is not good when a stemement dies because of a broken dependency 
which is shortly after detected by one of the preceding statements doing down (gracefully). Fix this by keeping a single 
per-process error flag indicating whether to wait retry_time before initializing the next statement, and adjusting this 
flag appropriately. In particular, when a statement not scheduled for termination goes down, the error flag is cleared; 
similarly, if a statement dies with an error, the error flag is only set if the statement was not scheduled for 
termination.

DavidCox1979/badvpn,DavidCox1979/badvpn,DavidCox1979/badvpn,DavidCox1979/badvpn,DavidCox1979/badvpn