dispatch asyncronous requests in the main thread