Errors in mongos after changing config server

Hey!

Replaced config server by https://www.mongodb.com/docs/v4.4/tutorial/replace-config-server/, now we are seeing problems from mongos
server. It can be seen from the log that the mongos server tries to connect to only one config server, the one that was replaced.

This happens if the Secomdary config server is behind the Primary in replication. As soon as replication returns to normal, the errors disappear.

What should be done to avoid such errors?
Thanks!

{"t":{"$date":"2022-03-23T10:22:05.342+03:00"},"s":"I",  "c":"NETWORK",  "id":4712102, "ctx":"ConfigServerCatalogCacheLoader-43813","msg":"Host failed in replica set","attr":{"replicaSet":"CSRS","host":"csrs-host03
:27019","error":{"code":202,"codeName":"NetworkInterfaceExceededTimeLimit","errmsg":"Request 17875551933 timed out, deadline was 2022-03-23T10:22:05.342+03:00, op was RemoteCommand 17875551
933 -- target:[csrs-host03:27019] db:config expDate:2022-03-23T10:22:05.342+03:00 cmd:{ find: \"collections\", filter: { _id: \"config.system.sessions\" }, readConcern: { level: \"majority\",
afterOpTime: { ts: Timestamp(1648020095, 97), t: 93 } }, limit: 1, maxTimeMS: 30000 }"},"action":{"dropConnections":false,"requestImmediateCheck":false,"outcome":{"host":"csrs-host03:27019","s
uccess":false,"errorMessage":"NetworkInterfaceExceededTimeLimit: Request 17875551933 timed out, deadline was 2022-03-23T10:22:05.342+03:00, op was RemoteCommand 17875551933 -- target:[csrs-host03:27019] db:config exp
Date:2022-03-23T10:22:05.342+03:00 cmd:{ find: \"collections\", filter: { _id: \"config.system.sessions\" }, readConcern: { level: \"majority\", afterOpTime: { ts: Timestamp(1648020095, 97),
 t: 93 } }, limit: 1, maxTimeMS: 30000 }"}}}}
{"t":{"$date":"2022-03-23T10:22:05.342+03:00"},"s":"I",  "c":"SHARDING", "id":22740,   "ctx":"ConfigServerCatalogCacheLoader-43813","msg":"Operation timed out","attr":{"error":{"code":202,"codeName":"NetworkInterfa
ceExceededTimeLimit","errmsg":"Request 17875551933 timed out, deadline was 2022-03-23T10:22:05.342+03:00, op was RemoteCommand 17875551933 -- target:[csrs-host03:27019] db:config expDate:2022-
03-23T10:22:05.342+03:00 cmd:{ find: \"collections\", filter: { _id: \"config.system.sessions\" }, readConcern: { level: \"majority\", afterOpTime: { ts: Timestamp(1648020095, 97), t: 93 } }, limit: 1, maxTimeMS: 3
0000 }"}}}
{"t":{"$date":"2022-03-23T10:22:05.342+03:00"},"s":"I",  "c":"SH_REFR",  "id":24103,   "ctx":"ConfigServerCatalogCacheLoader-43813","msg":"Error refreshing cached collection","attr":{"namespace":"config.system.sess
ions","durationMillis":30000,"error":"NetworkInterfaceExceededTimeLimit: Request 17875551933 timed out, deadline was 2022-03-23T10:22:05.342+03:00, op was RemoteCommand 17875551933 -- target:[csrs-host03:27019] db:co
nfig expDate:2022-03-23T10:22:05.342+03:00 cmd:{ find: \"collections\", filter: { _id: \"config.system.sessions\" }, readConcern: { level: \"majority\", afterOpTime: { ts: Timestamp(16480200
95, 97), t: 93 } }, limit: 1, maxTimeMS: 30000 }"}}
{"t":{"$date":"2022-03-23T10:22:05.342+03:00"},"s":"I",  "c":"CONTROL",  "id":20714,   "ctx":"LogicalSessionCacheRefresh","msg":"Failed to refresh session cache, will try again at the next refresh interval","attr":
{"error":"NetworkInterfaceExceededTimeLimit: Request 17875551933 timed out, deadline was 2022-03-23T10:22:05.342+03:00, op was RemoteCommand 17875551933 -- target:[csrs-host03:27019] db:config
 expDate:2022-03-23T10:22:05.342+03:00 cmd:{ find: \"collections\", filter: { _id: \"config.system.sessions\" }, readConcern: { level: \"majority\", afterOpTime: { ts: Timestamp(1648020095, 97), t: 93 } }, limit: 1
, maxTimeMS: 30000 }"}}
{"t":{"$date":"2022-03-23T10:22:05.343+03:00"},"s":"I",  "c":"CONTROL",  "id":20712,   "ctx":"LogicalSessionCacheReap","msg":"Sessions collection is not set up; waiting until next sessions reap interval","attr":{"e
rror":"NetworkInterfaceExceededTimeLimit: Request 17875551933 timed out, deadline was 2022-03-23T10:22:05.342+03:00, op was RemoteCommand 17875551933 -- target:[csrs-host03:27019] db:config ex
pDate:2022-03-23T10:22:05.342+03:00 cmd:{ find: \"collections\", filter: { _id: \"config.system.sessions\" }, readConcern: { level: \"majority\", afterOpTime: { ts: Timestamp(1648020095, 97), t: 93 } }, limit: 1, m
axTimeMS: 30000 }"}}