terminate_cap -> cap_terminate