Fix possible race condition in NAT detect between timer and socket. (#3747)

Change-Id: I8647a23dc2adb6a859c18f1795e7d2b8524ff06b
1 file changed