Parallel running of several jobs in a python script,p.wait()