Bug 1010784: Null out sync loop target to avoid assertions when reusing sync XHR. r=khuey
Bug 965309: Shut down the sync loop, if any, when we shut down the XHR. r=bent