Use unique has as appdata torrent name. Reset stream.position.