clean and close