clean and close workspace