Fix #1240: Add stop() to AsyncJSEnv

Does Rhino somehow honor the `interrupted()` status of its running thread? How come this works?