chore(core): remove the dead clean_handlers mechanism (#13761)