I\'m creating a websocket based app in react native. Every time I hot reload, the socket connection is getting called, as a result, there is an overload of connections on the se