I need to configure MongoDB writes in order to retry multiple times.
According to documentation, I can achieve that by changing RetryMode in MongoDB write queries to