protect sock.Uaid calls.