'Stop sending I{PING} messages to keep the connection to the server
alive.
@since: 11.1'

def stopHeartbeat(self):

    if (self._heartbeat is not None):
        self._heartbeat.stop()
        self._heartbeat = None
