SERVER-15762: index_retry.js - wait for journal flush