Reset the result_wrong count on block change in avalon scanhash to prevent false positives for all nonces failed.
Only do_avalon_close once on multiple errors.