add close function, stop cleaner