fix piece picking edge case that could cause torrents to get stuck at hash failure