BUG: Handle case where program died while pickling the output leading to EOFErrors when we try to read it back