Both SocketServer and SocketServerDiscoveryServer now retry binding to the socket for 25 times with a delay of 100ms.