1.Check online and offline
2. Check keep alive