Close nextReader on socket close.

The nextReader channel should be closed when the socket closes. I noticed this because the socket loop in go-socket.io went on forever.