implement terminate for sbpl planner