MongoDB Federation Socket was unexpectedly closed: EOF

I’m utilizing MongoDB Atlas Data Federation’s $out feature to export data to Amazon S3 on a daily basis from a mongoDB Cluster

Running the pipeline script give the following error from log:
“_id”: {
“$oid”: “"
“level”: “debug”,
“msg”: “error executing $out stage”,
“correlationID”: "
“commandName”: “aggregate”,
“username”: “CN=realmAppId:triggers-",
“authDB”: “$external”,
“executeRequestID”: "
“error”: "connection(
****) socket was unexpectedly closed: EOF”,
“ts”: 1705575766978425900

Anyone encounter the same type of error between MongoDB Feferation and a cluster ?