working failure detection/mark-as-wanted for torrents through libtorrent