multiprocessing wants stateless global method