The process library now waits gracefully for stdin to close when shutting down. In addition the local engine and rhino ensure that stdin is closed for the current executeJs function