Fix the problem that sometimes losts the timing of the log status check.