Attempt for a fix for occational freezes when testing with processes.