Investigating weird multiprocessing issue