Fix hang for 2nd use of target with unresolved DNS PAZ-949