Delete command objects in destructor
p4#: 22402