'Stop the heartbeat checker'

def stop(self):

    if self._timer:
        LOGGER.debug('Removing    timeout    for    next    heartbeat    interval')
        self._connection.remove_timeout(self._timer)
        self._timer = None
