code: public void removeTorrent(TorrentHandle th, remove_flags_t options) {
          if (th.isValid()) {
              s.remove_torrent(th.swig(), options);
          }
      }
docs: This method will close all peer connections associated with the torrent and tell the
  tracker that we've stopped participating in the swarm. This operation cannot fail.
  When it completes, you will receive a torrent_removed_alert.
  <p>
  The optional second argument options can be used to delete all the files downloaded
  by this torrent. To do so, pass in the value session::delete_files. The removal of
  the torrent is asynchronous, there is no guarantee that adding the same torrent immediately
  after it was removed will not throw a libtorrent_exception exception. Once the torrent
  is deleted, a torrent_deleted_alert is posted.
  
  @param th the handle