Performing httprequest on a second thread.