Disable commands during their execution