Finally fixed the race condition in the async task.
Added URIs of the live web service.