Clean up everything after finish planning.