parimap: prevent a hang in Process.join()