finish termination protocol