close = function close() {
                        _this4.write([
                            {
                                type: "close",
                            },
                        ]);
                    }
For polling, send a close packet.

@protected