stopKeepAlive method

  1. @override
void stopKeepAlive()

Stops periodic keep-alive sending.

Implementation

@override
void stopKeepAlive() {
  if (keepAliveTimer != null) {
    try {
      keepAliveTimer!.cancel();
    } catch (e) {
      // Log error but continue cleanup
      print('Error canceling keep-alive timer: $e');
    } finally {
      keepAliveTimer = null;
    }
  }
}