code: def close(self):
          
          self._dll.JLINKARM_Close()
  
          if self._lock is not None:
              del self._lock
              self._lock = None
  
          return None
docs: Closes the open J-Link.
  
          Args:
            self (JLink): the ``JLink`` instance
  
          Returns:
            ``None``
  
          Raises:
            JLinkException: if there is no connected JLink.