kill finished foreground thread

as title