Tweaked SendInBackground for WebApi support.