[tor-commits] [ooni-probe/master] Refactor failure handling code in nettest