stop the slave before creating query cache triggers

adding the triggers while the slave is started occasionally makes the add trigger statement hang