SERVER-8536 prevent race conditions in IndexBuilder tests