Fix flaky replicator tests. Replication+compaction test periodically times out when running under CI. Adjust writer timeout from 3 to 9 sec. Also clean up confusing / unused TIMEOUT_STOP constant.