Close nextReader on socket close.