convert the strings to int only one time
Fix for python 3.4

Seems as if the threading.Thread class in python3.4 has a _stop variable itself...