spawn a thread instead of a process to add a torrent