added stop slave and start slave mode