Add method to exit clean