title: IBM Worklight 6.0 - busy indicator doesn't always close on Android
body: <p>I am using WL.BusyIndicator with an adaptor call in Worklight 6.0:</p>
  
  <pre><code>this.busyIndicator.show();
  
  WL.Client.invokeProcedure(invocationData, {
      onSuccess : function(response) {
  
          this.busyIndicator.hide();
  
          // do good stuff
  
  }.bind(this),
      onFailure : function(err) {
  
          this.busyIndicator.hide();
          WL.SimpleDialog.show("Adapter Error", JSON.stringify(err), [{text: "OK"}]);
  
      }.bind(this)
  });
  </code></pre>
  
  <p>This usually works, but on Android, when the adapter call fails (the worklight server is stopped) I will sometimes see the "Adapter Error" dialog, and when I dismiss it, the busyindicator is still there.   At this point my app is dead, as there is nothing that I can do with the busyindicator running. (back button does not clear it)</p>
  
  <p>There is nothing in the logcat other than the error message about the adapter call failing.</p>
  
  <p>I've see this in the emulator on Android 4.1.2 and 4.2.2, and on a 4.1.2 phone.  I wasn't able to reproduce it in the Android 2.2 emulator, but that runs so much more slowly, it may just be a timing window I can't hit there.  I haven't seen the problem on iOS or in Chrome.</p>
  
  <p>Has anyone else seen this?</p>