proper use of mutexes in python,t.start()