cleanup the way we handle torrents