threading.Event is a class for python 3.3+ but not for python 3.2