private boolean isMongoConnectionClosedException(Throwable throwable) {
        Throwable cause = throwable.getCause();
        if (cause instanceof IllegalStateException) {
            String message = cause.getMessage();
            return "state should be: open".equals(message)
                    || "state should be: server session pool is open".equals(message);
        }
        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