updated stop_slave.sh