the former was deprecated forever ago, and apparently removed. this may fix the disconnect detection logic