Make .close() cleanly close the nREPL connection