Avoid deadlock on multi command