We are not able to kill all sessions in production Mongo DB

Hi Team,

We are not able to kill all sessions in production Mongo DB.

Hi Team,

Environment:
MongoDB Version 4.0.12
It is custom deployed replicaset on EKS cluster.

I was using below command to kill all sessions in Mongo DB. But it was failing during execution.
Kindly let us know why it was getting failed.

db.runCommand( { killAllSessions: [ ] } ){
    "operationTime" : Timestamp(1629285945, 4),
    "ok" : 0,
    "errmsg" : "operation was interrupted",
    "code" : 11601,
    "codeName" : "Interrupted",
    "$clusterTime" : {
        "clusterTime" : Timestamp(1629285945, 4),
        "signature" : {
            "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
            "keyId" : NumberLong(0)
        }
    }
}

Kindly let us know is there any other solution to kill sessions.