title: onSelectionChange gets interrupted when changing sheets in Google Sheets
body: <p>I have a function in a script that is connected to a sheet:</p>
  <pre><code>function onSelectionChange(e) {
      // code
  }
  </code></pre>
  <p>The problem is that when I change to a different sheet the execution stops and a new execution starts on the new sheet.</p>
  <p><strong>Is there any way to ensure that the previous execution will do all its tasks before terminating?</strong></p>
  <p>EDIT:</p>
  <p>I've come to realize that the issue is that a trigger won't always execute on an event if there is another invocation quick enough. And it seems that for this there is no fix.</p>