private boolean isReadFromForciblyClosedConnectionException(Throwable throwable) {
        if (throwable instanceof IOException) {
            StackTraceElement[] stackTrace = throwable.getStackTrace();
            if (stackTrace.length > 0) {
                StackTraceElement traceElement = stackTrace[0];
                return traceElement.getClassName()
                        .endsWith("SocketDispatcher")
                        && traceElement.getMethodName()
                                .startsWith("read");
            }
        }
        return false;
    }
The exception occurs when a socket tries to read from a closed connection without a 4-way
handshake
turms-server-common/src/main/java/im/turms/server/common/infra/application/TurmsApplicationContext.java