fix deadlock in class Verification
add parse_torrent