If concurrent operations try to create the "*.system.profile" collection at the same time, all but one will get a WriteConflictException here. This can cause a command to fail while profiling, even though the underlying operation may have actually succeeded.
The collection creation here needs a writeConflictRetry loop.