create xdcr queue monitor
refactoring monitors
wait for replication to finish in xdcr_init phase