adjusted periodic check loop last_seen