Implement process_cleaner.