send ReplayDone appropriately during replay