Win socket() wait can happen for 2 reasons which is due to an unusual behavior, as mentioned below:
1. Client gets disconnected from server due to network issues.
2. Memory buffer(stack) overflow in TCP/IP layer; which further requires the socket to be reset.