Fix bug causing process to hang upon quitting a REPL
Fix bug causing process to hang upon quitting a REPL

stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib