safe sequence terminate