ping server if no activity in 30s.