Hopefully this fixes an NSStream-Error

Following Error has driven me insane:
request (0x...) other than the current request(0x0) signalledit was complete on connection 0x...

After countless Breakpoint-Settings and some Trial-and-Error this was the solution for me. To me it sounds like an Error in the underlying Apple-Framework, that occurred  unpredictable.
It never happened on my MacBook Pro but came up frequently on my iMac. Maybe someone can explain to me, whats going on here.
I did the fix only for File-Download, that now works 100% for me. I would add the rest, if anybody confirms, that it works for her/him.