use 'addTorrent' event so swarm will be defined