Kill runtime threads if remained
Kill threads on both Windows and *nix