make it work in windows with python3, still problem with _Stop in Thread