title: How to disconnect from events
body: <p>I have created a js script, that subscribes to two different events:</p>
  
  <pre><code>function testDoubleEvents() {
      alert("started");
      var eventName1 = "LeftBumperPressed";
      var eventName2 = "RightBumperPressed";
  
      session.service("ALMemory").done(function (ALMemory) {
          alert("ALMemory ok");
          ALMemory.subscriber(eventName1).done(function(subscriber1) {
              alert("subscribed1");
              subscriber1.signal.connect(function(result1){
                  alert(eventName1);
              });
          });
  
          ALMemory.subscriber(eventName2).done(function(subscriber2) {
              alert("subscribed2");
              subscriber2.signal.connect(function(result2){
                  alert(eventName2);
              });
          });
  
      });
  }
  </code></pre>
  
  <ol>
  <li>How can I unsubscribe from an event when this event occurs for first time?</li>
  <li>How can I unsubscribe from both of the events when one of the occurs for first time?</li>
  </ol>