Avoid having the flusher thread hang around when the entire process is shutting down.
Avoid having the flusher thread hang around when the entire process is shutting down.

cstorey/chain-replication-experiment,cstorey/chain-replication-experiment