methodServerWebSocket.terminateterminate(): void;Closes the connection abruptly.To close the connection gracefully, use close().