Merge close commands, use cancelevent args for cancel