Adding stopping and restart of binlog rep.