code: def close(self):
          
          if not self.is_open:
              raise RuntimeError("WinDivert handle is not open.")
          windivert_dll.WinDivertClose(self._handle)
          self._handle = None
docs: Closes the handle opened by open().
  
          The remapped function is WinDivertClose::
  
              BOOL WinDivertClose(
                  __in HANDLE handle
              );
  
          For more info on the C call visit: http://reqrypt.org/windivert-doc.html#divert_close