code: def stop(self):
          
          log.debug("Stopping periodic task")
  
          stopframe = build_bcm_tx_delete_header(self.can_id_with_flags, self.flags)
          send_bcm(self.bcm_socket, stopframe)
docs: Send a TX_DELETE message to cancel this task.
  
          This will delete the entry for the transmission of the CAN-message
          with the specified can_id CAN identifier. The message length for the command
          TX_DELETE is {[bcm_msg_head]} (only the header).