lwip: fix the crash when close socket See merge request idf/esp-idf!3384
The note is not visible to the blocked user.