Node REPL errors on exit

The socket atom wasn't being dereferenced when being sent to close-socket