Fixed crash when 502 is returned from a just-starting-up node.