using magnet-uris directly to avoid race conditions