Implements kd.stop.