title: Stopping the Rhino Engine in middle of execution
body: <p>Does the Rhino engine have an api that can stop the execution of a 
  script fie in the middle. For example, I have a script file in which 
  there is an infinte loop. How can I stop the execution in the middle? </p>
  
  <p>Of course, I can stop the jvm which started the Rhino engine to 
  excecute the script. But I don't want to kill the entire jvm session for that reason as i have started the script programatically and the Rhino Engine also running in the same JVM as my application.</p>