Include ignoreSigPipe to avoid hangs