Allow replication to resume after checkpoint has started.
Merge remote-tracking branch 'remotes/origin/master' into stream
Improve exception when stream is closed.