title: How to handle internet connection loss in stompjs web socket
body: <p>I am using stomp js in my angular project and also using WebSocket in java spring for backend.</p>
  
  <p>Here is the scenario where if internet connection is lost in the client pc then how to notify the client that they are disconnected from the WebSocket connection and how to automatically reconnect with a client when it gets internet connection again?</p>
  
  <p>I am using @stomp/ng2-stompjs  "^7.2.0". Thanks in advance </p>