code: def cancel(self):
          
          if self.__process.is_alive():
              self.__process.terminate()
  
          _raise_exception(self.__timeout_exception, self.__exception_message)
docs: Terminate any possible execution of the embedded function.