How to disable the slave in deadlinecommand