Debezium connector task is not retried when failover in mongodb 5
I tested mongo debezium connector for failover in mongo 4 and 5.
In case of 4, when failover, the task is retried successfully with MongoSocketOpenException on tail
but, in case of 5, the task is not retried with MongoNodeIsRecoveringException on tail
it looks mongo didn't close socket when primary failover in 5 version like recovery mode.
follow this doc about the exception
then, we need to retry the exception