Annotated with wlan_sockets[_sock] = false from commit
ab42a580b79321756b1392d18c85846481df00ec

ToDO There seems to be inconsistency of use of open wlan_sockets[_sock]
in commit ab42a580b79321756b1392d18c85846481df00ec so it is commented
out here Lets define enum eSocketState{  eSocketClosed, eSocketOpen }
Let also look at (SOCKET_STATUS_INACTIVE !=
get_socket_active_status(_sock)
To see if the 2 concepts can be merged down to 1