title: Keep Binance futures wss alive
body: <p>I have this code :</p>
  
  <pre><code>startWss();
  function startWss(){
  let  wsBinance = new WebSocket('wss://stream.binancefuture.com/stream?streams=btcusdt@bookTicker', { 
      apiKeyID: testApiKeys[0], 
      apiKeySecret: testApiSecrets[0] 
  });
  
  if(wsBinance){
      wsBinance.on('error', () =&gt; { console.error });
      wsBinance.on('open', () =&gt; { console.log('Connection opened bookTicker.') } );
      wsBinance.on('close', function () {
          startWss();
          console.log('Connection closed bookTicker.');
      } );
      wsBinance.on('initialize', () =&gt; console.log('Client initialized, data is flowing.' ));
      wsBinance.onmessage = e =&gt; {
  
          let dataJson = JSON.parse(e.data)
          if(dataJson.data){
              priceA= dataJson.data.b
              priceB= dataJson.data.a
          }
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>But it closes after some time. How do I keep it always running?
  I thought it should work by restarting it in close but its not working..</p>