fix for cancel replication command, advancing in cancel replication handler...