We are facing issue in production to kill all sessions

Hi Team,

Environment:
MongoDB Version 4.0.12
It is custom deployed replica set 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.

Not get any updates regarding issue “we are facing issue in production to kill all sessions in MongoDB”