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