do not enter into an inifinite keep alive restart loop.