// Verify that all of the replication sequences made it to the
// destination.
Assert.assertTrue("The state file for sequence " + sequenceCount + " doesn't exist.", finalStateFile.exists());
// Shut down the pipelines.
clientRunner.interrupt();
serverRunner.interrupt();
clientRunner.join();
serverRunner.join();
source.release();
}