parameters: (self, package, timeout=None, retries=None)
docstring: Close the application.
  
      Args:
        package: A string containing the name of the package to stop.
        timeout: timeout in seconds
        retries: number of retries
  
      Raises:
        CommandTimeoutError on timeout.
        DeviceUnreachableError on missing device.
docstring_summary: Close the application.
docstring_tokens: Close the application .
function: def ForceStop(self, package, timeout=None, retries=None):
      """Close the application.
  
      Args:
        package: A string containing the name of the package to stop.
        timeout: timeout in seconds
        retries: number of retries
  
      Raises:
        CommandTimeoutError on timeout.
        DeviceUnreachableError on missing device.
      """
      if self.GetPids(package):
        self.RunShellCommand(['am', 'force-stop', package], check_return=True)
function_tokens: def ForceStop ( self , package , timeout = None , retries = None ) : if self . GetPids ( package ) : self . RunShellCommand ( [ 'am' , 'force-stop' , package ] , check_return = True )