I\'m trying to implement a socket client on my React Native app. But I\'m facing some issues, the client is connecting twice to the server. The other problem I\'m facing is when