Fix a possible crash if you call cancel on an SGHTTPRequest from a background thread