Added NSOperation cancellation support
closing request stream and handling 2nd error case
Merged.