@Override
    public Mono<Boolean> callAsync() {
        CloseReason reason = CloseReason.get(closeStatus);
        Mono<Integer> mono = deviceTypes == null || deviceTypes.isEmpty()
                ? sessionService.closeLocalSession(userId, reason)
                : sessionService.closeLocalSession(userId, deviceTypes, reason);
        return mono.map(count -> count > 0);
    }
@return true if the user had one online session at least.
turms-server-common/src/main/java/im/turms/server/common/domain/session/rpc/dto/SetUserOfflineRequest.java