Updated master.sh to wait after killing and restarting the salt-masterg