Drop socket reference on close.

Closes #1976.
- Prevent the unbounded memory growth caused by maintaining
  a reference to the socket object that is created on every connection.
I'd still dig just using `node-uuid` here rather than manually managing this, but meh =)