SERVER-8536 fix index build restarts for a few commands