implement clear_all_completed_work