Flush when checking for memcheck coreStates.

Trouble is this has to be done outside the lock.  So, moved out.