[WSD] wait for all WQ to return before destroying the socket.