Changes for atomic use for flush command.  Fix counts in wtperf for
async.