Fix a possible PING loop due to broken iOS clients.