At the begin and end of a torrent