Wait for ops to be applied (on TokuMX secondaries) before queuing them

It's possible this patch could fix race conditions that may have been causing tests to fail for you.  I look forward to hearing whether it has any impact on your results.