better multiprocessing and multithreading in python

WWW: https://github.com/uqfoundation/multiprocess
