add Cmdln.fini() hook method