title: why stompit.ConnectFailover would generate thousands of consumers
body: <p>I use the code shown below, to setup a connection for an active message queue via nodejs</p>
  
  <pre class="lang-js prettyprint-override"><code>    var reconnectOptions = {
        'maxReconnects': 10,
        connect: {
          connectHeaders: {
            'heart-beat': '5000,5000'
          }
        }
      };
  var servers = [mqConfig.connectOption];
  var manager = new stompit.ConnectFailover(servers, reconnectOptions);
  
    manager.connect(function(error, client, reconnect){
    client.subscribe(mqConfig.receiveHeaders, function(error, message) {
  
  
      client.on('error', function(error) {
        reconnect();
      });
  
      message.readString('utf-8', function (error, body) {
  
        if (error) {
          console.log('read message error ' + error.message);
          return;
        }
      ....
  </code></pre>
  
  <p>It works to connect to activemq and send out messages, but it would generate thousands of consumers with session id equal to <code>-1</code>. Is there any reason for that to happen, any ideas?</p>