restart master and minion