Feature request: option to run command after server cleanup

Unless such option already exists?