Change the command finalizer.