Add ability to wait for replication streams.