Fix the problem of host going periodically -ok.
Fix timer initialization in lim.