Fix bug: Some devices could not be added
Some devices have bugs. After sending the message immediately after socket.connect(), the device will not respond. The message will not be returned until the second message is delivered. (Two messages will be returned) The simplest solution is used here.