fix: lode.js - clear server socket, close server