cleanup and new cmd: shutdonw