[PDI-12599] - MongoDB Output step has a race condition in batch insert retries that can cause errors to be logged.

It seems to be impossible to prevent a driver from throwing an exception, thus it makes sense to merely avoid it after recognising the case properly.